package com.babel.util.exception;


import com.babel.util.enums.ResultCodeEnum;

/**
 * Created by CH  17-7-26.
 */
public class RestException extends RuntimeException {

    private static final long serialVersionUID = 206361018197812678L;


    public RestException() {
        super(ResultCodeEnum.CODE_501.getDescription());
    }



    public RestException(String message) {
        super(message);
    }

}
